﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace KELT.Controls.Timeline.TimelineChart
{
    public class TimelineChart : TreeView
    {
        static TimelineChart()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(TimelineChart), new FrameworkPropertyMetadata(typeof(TimelineChart)));
        }

        public TimelineChart()
        {
            
        }

        protected override DependencyObject GetContainerForItemOverride()
        {
            //return base.GetContainerForItemOverride();
            return new ChartLineItem();
        }

        protected override bool IsItemItsOwnContainerOverride(object item)
        {
            //return base.IsItemItsOwnContainerOverride(item);
            return item is ChartLineItem;
        }

    
    }
}
